{%extends "base.django.html"%}

{%block content%}

    <h3>The Wandering Books metadata harvester, ported to Google App Engine</h3>

    {%if user%}

        <p>Hello, <em>{{user.nickname}}</em></p>
        <form action="/isbn" method="post">
            <label for="isbns">Type or scan ISBN numbers here, separated by whitespace</label>
            <br>
            <textarea cols="20" rows="20" name="isbns"></textarea>
            <input type="submit">
            
        </form>
        
        
    {%endif%}
    {%if not user%}
        <p>To use this site, you need to login using a Google account.</p>
    
    {%endif%}
{%endblock%}
